<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/examples/CMakeLists.txt File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('examples_2CMakeLists_8txt.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">/home/sky/yLib/examples/CMakeLists.txt File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aef71c121c394697bc3356fe141da0e25"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#aef71c121c394697bc3356fe141da0e25">link_directories</a> (${CMAKE_CURRENT_BINARY_DIR}/../src/) <a class="el" href="tests_2CMakeLists_8txt.html#a50081760c22fcb0b8bde4ff8ba2eca82">if</a>(WIN32) <a class="el" href="tests_2CMakeLists_8txt.html#a50081760c22fcb0b8bde4ff8ba2eca82">if</a>($</td></tr>
<tr class="separator:aef71c121c394697bc3356fe141da0e25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a9621c2ec6dbcbe23d561b3260ffbab"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#a4a9621c2ec6dbcbe23d561b3260ffbab">MATCHES</a> (x86_64|X86_64)&quot;) link_directories($</td></tr>
<tr class="separator:a4a9621c2ec6dbcbe23d561b3260ffbab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa192726bc62054a5b1f7be00368d9093"><td class="memItemLeft" align="right" valign="top">lib windows x86_64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#aa192726bc62054a5b1f7be00368d9093">else</a> () <a class="el" href="examples_2CMakeLists_8txt.html#aef71c121c394697bc3356fe141da0e25">link_directories</a>($</td></tr>
<tr class="separator:aa192726bc62054a5b1f7be00368d9093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33c8226ade87d000e2c0957db68b9651"><td class="memItemLeft" align="right" valign="top">lib windows x86&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#a33c8226ade87d000e2c0957db68b9651">endif</a> () <a class="el" href="tests_2CMakeLists_8txt.html#a8e56ce5c751d21c8c3040391bf353f74">elseif</a>(CMAKE_SYSTEM_NAME <a class="el" href="tests_2CMakeLists_8txt.html#a4a9621c2ec6dbcbe23d561b3260ffbab">MATCHES</a> &quot;Linux&quot;) if($</td></tr>
<tr class="separator:a33c8226ade87d000e2c0957db68b9651"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae83cb019902d88502b00107d1cb69148"><td class="memItemLeft" align="right" valign="top">lib linux x86_64&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#ae83cb019902d88502b00107d1cb69148">elseif</a> (${BUILD_YLIB_ARCH} <a class="el" href="tests_2CMakeLists_8txt.html#a4a9621c2ec6dbcbe23d561b3260ffbab">MATCHES</a> &quot;(x86|X86)&quot;) link_directories($</td></tr>
<tr class="separator:ae83cb019902d88502b00107d1cb69148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5c33df4395a1f3e1d39972c4088996a"><td class="memItemLeft" align="right" valign="top">lib&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#ae5c33df4395a1f3e1d39972c4088996a">set</a> (CMAKE_C_FLAGS &quot;${CMAKE_CXX_FLAGS} -g&quot;) set(CMAKE_CXX_FLAGS &quot;$</td></tr>
<tr class="separator:ae5c33df4395a1f3e1d39972c4088996a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e56ce5c751d21c8c3040391bf353f74"><td class="memItemLeft" align="right" valign="top">g&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#a8e56ce5c751d21c8c3040391bf353f74">elseif</a> (ANDROID) <a class="el" href="examples_2CMakeLists_8txt.html#aef71c121c394697bc3356fe141da0e25">link_directories</a>($</td></tr>
<tr class="separator:a8e56ce5c751d21c8c3040391bf353f74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36eef05aa904103835ce154489ba1594"><td class="memItemLeft" align="right" valign="top">module_name&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="examples_2CMakeLists_8txt.html#a36eef05aa904103835ce154489ba1594">set</a> (SRC ${CMAKE_CURRENT_SOURCE_DIR}/test_${module_name}.cpp) add_executable(test_$</td></tr>
<tr class="separator:a36eef05aa904103835ce154489ba1594"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aa192726bc62054a5b1f7be00368d9093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa192726bc62054a5b1f7be00368d9093">&#9670;&nbsp;</a></span>else()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">lib windows x86_64 else </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae83cb019902d88502b00107d1cb69148"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae83cb019902d88502b00107d1cb69148">&#9670;&nbsp;</a></span>elseif() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">lib linux armeabi v7a elseif </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>${BUILD_YLIB_ARCH} MATCHES &quot;(x86|X86)&quot;</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a8e56ce5c751d21c8c3040391bf353f74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e56ce5c751d21c8c3040391bf353f74">&#9670;&nbsp;</a></span>elseif() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">g elseif </td>
          <td>(</td>
          <td class="paramtype">ANDROID&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a33c8226ade87d000e2c0957db68b9651"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33c8226ade87d000e2c0957db68b9651">&#9670;&nbsp;</a></span>endif()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">lib android endif </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="aef71c121c394697bc3356fe141da0e25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef71c121c394697bc3356fe141da0e25">&#9670;&nbsp;</a></span>link_directories()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">link_directories </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>${CMAKE_CURRENT_BINARY_DIR}/../src/</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a4a9621c2ec6dbcbe23d561b3260ffbab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a9621c2ec6dbcbe23d561b3260ffbab">&#9670;&nbsp;</a></span>MATCHES()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MATCHES </td>
          <td>(</td>
          <td class="paramtype">x86_64|&#160;</td>
          <td class="paramname"><em>X86_64</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="ae5c33df4395a1f3e1d39972c4088996a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5c33df4395a1f3e1d39972c4088996a">&#9670;&nbsp;</a></span>set() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">lib set </td>
          <td>(</td>
          <td class="paramtype">CMAKE_C_FLAGS &quot;${CMAKE_CXX_FLAGS} -g&quot;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a id="a36eef05aa904103835ce154489ba1594"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a36eef05aa904103835ce154489ba1594">&#9670;&nbsp;</a></span>set() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">module_name set </td>
          <td>(</td>
          <td class="paramtype">SRC ${CMAKE_CURRENT_SOURCE_DIR}/test_${module_name}.&#160;</td>
          <td class="paramname"><em>cpp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="examples_2CMakeLists_8txt.html">CMakeLists.txt</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
